projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
411efc3
)
(math-bignum-digit-length): Compute the appropriate value.
author
Jay Belanger
<jay.p.belanger@gmail.com>
Fri, 17 Aug 2007 20:18:16 +0000
(20:18 +0000)
committer
Jay Belanger
<jay.p.belanger@gmail.com>
Fri, 17 Aug 2007 20:18:16 +0000
(20:18 +0000)
lisp/calc/calc.el
patch
|
blob
|
history
diff --git
a/lisp/calc/calc.el
b/lisp/calc/calc.el
index 5377d4da75eefc3f65b48370104e91ac30435cb1..8e416293a459a3a8f650bea6429d4eb6a471971b 100644
(file)
--- a/
lisp/calc/calc.el
+++ b/
lisp/calc/calc.el
@@
-2284,8
+2284,8
@@
See calc-keypad for details."
-(defconst math-bignum-digit-length
4
-
;
(truncate (/ (log10 (/ most-positive-fixnum 2)) 2))
+(defconst math-bignum-digit-length
+ (truncate (/ (log10 (/ most-positive-fixnum 2)) 2))
"The length of a \"digit\" in Calc bignums.
If a big integer is of the form (bigpos N0 N1 ...), this is the
length of the allowable Emacs integers N0, N1,...